package com.jy.appmarket.network.engine;

import java.util.Map;

import com.jy.appmarket.network.resultdata.GetVerifyCodeResult;

import android.content.Context;

public class GetVerifyCodeNetEngine extends BaseNetEngine{

	private String mPhoneNum;
	private String mType;
	
	public GetVerifyCodeNetEngine(String phoneNum, String type) {
		mHttpMethod = HTTP_POST;
		mResultData = new GetVerifyCodeResult();
		mPhoneNum = phoneNum;
		mType = type;
	}
	
	@Override
	protected String getCommand() {
		return "get_verification_code";
	}

	@Override
	protected void postParams(Context context, Map<String, String> params) {
		params.put("phoneNum", mPhoneNum);
		params.put("type", mType);
	}
}
